package com.zhiwang.planet.di.component

import com.zhiwang.planet.di.ActivityScope
import com.zhiwang.planet.di.module.AccountModule
import com.zhiwang.planet.di.module.AutoDisposeModule
import com.zhiwang.planet.ui.FictionWebViewActivity
import com.zhiwang.planet.ui.HeadlineWebViewActivity
import com.zhiwang.planet.ui.VideoWebViewActivity
import dagger.Component


@ActivityScope
@Component(dependencies = [AppComponent::class], modules = [AccountModule::class, AutoDisposeModule::class])
interface EntertainComponent {

    fun inject(activity: FictionWebViewActivity)
    fun inject(activity: HeadlineWebViewActivity)
    fun inject(activity: VideoWebViewActivity)
}